
class UploadData {
  int? errCode;
  String? errMsg;
  String? domain;
  dynamic hostIp;
  String? hostNo;
  String? originalName;
  String? remoteFileName;
  String? uri;
  dynamic coverImg;
  dynamic previewPath;
  String? suffix;
  int? fileSize;
  int? pageCount;
  dynamic remoteFileNo;
  dynamic sheets;

  UploadData({this.errCode, this.errMsg, this.domain, this.hostIp, this.hostNo, this.originalName, this.remoteFileName, this.uri, this.coverImg, this.previewPath, this.suffix, this.fileSize, this.pageCount, this.remoteFileNo, this.sheets});

  UploadData.fromJson(Map<String, dynamic> json) {
    if(json["errCode"] is int) {
      errCode = json["errCode"];
    }
    if(json["errMsg"] is String) {
      errMsg = json["errMsg"];
    }
    if(json["domain"] is String) {
      domain = json["domain"];
    }
    hostIp = json["hostIp"];
    if(json["hostNo"] is String) {
      hostNo = json["hostNo"];
    }
    if(json["originalName"] is String) {
      originalName = json["originalName"];
    }
    if(json["remoteFileName"] is String) {
      remoteFileName = json["remoteFileName"];
    }
    if(json["uri"] is String) {
      uri = json["uri"];
    }
    coverImg = json["coverImg"];
    previewPath = json["previewPath"];
    if(json["suffix"] is String) {
      suffix = json["suffix"];
    }
    if(json["fileSize"] is int) {
      fileSize = json["fileSize"];
    }
    if(json["pageCount"] is int) {
      pageCount = json["pageCount"];
    }
    remoteFileNo = json["remoteFileNo"];
    sheets = json["sheets"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["errCode"] = errCode;
    _data["errMsg"] = errMsg;
    _data["domain"] = domain;
    _data["hostIp"] = hostIp;
    _data["hostNo"] = hostNo;
    _data["originalName"] = originalName;
    _data["remoteFileName"] = remoteFileName;
    _data["uri"] = uri;
    _data["coverImg"] = coverImg;
    _data["previewPath"] = previewPath;
    _data["suffix"] = suffix;
    _data["fileSize"] = fileSize;
    _data["pageCount"] = pageCount;
    _data["remoteFileNo"] = remoteFileNo;
    _data["sheets"] = sheets;
    return _data;
  }
}